kms_frontbuffer_tracking - FBC disabled
A message that is not in the archive (sent off-list or not yet received): [email protected]/
https://bugs.freedesktop.org/show_bug.cgi?id=105359
Marta Löfstedt <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
QA Contact|[email protected] | |sktop.org | Component|DRM/Intel |IGT Assignee|[email protected] |[email protected] |sktop.org |.org
--- Comment #3 from Marta Löfstedt <[email protected]> --- Sent up an igt patch that will skip the test if FBC was disabled by previous error.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105359
--- Comment #4 from Marta Löfstedt <[email protected]> ---
https://patchwork.freedesktop.org/patch/208170/
This caused some discussion. I appears as if devs want a way for user space to reset the "fbc state". I am assuming this also applies for FIFO underrun caused FBC disabled.
I guess that is OK, the only one calling:intel_fbc_handle_fifo_underrun_irq(dev_priv);
is:
void intel_cpu_fifo_underrun_irq_handler(struct drm_i915_private *dev_priv,
enum pipe pipe)
However, this comment in above function:
/* There's no guarantee that underrun_detected won't be set to true
* right after this check and before the work is scheduled, but that's
* not a problem since we'll check it again under the work function
* while FBC is locked. This check here is just to prevent us from
* unnecessarily scheduling the work, and it relies on the fact that we
* never switch underrun_detect back to false after it's true. */
so maybe not totally straight forward to implement.
Also, I believe that the massive hit from "FBC disabled" on kasan and shard testlist on BAT is due to this FBC banned by FIFO underrun thing.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105359
--- Comment #5 from Marta Löfstedt <[email protected]> --- very funny PW results on shards basically all fbc related frontbuffer_tracking tests are skipped.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105359
--- Comment #6 from Marta Löfstedt <[email protected]> --- I now found this to be even stranger than anticipated:
checking the i915_FBC_state while running kms tests I have ended up way to many states for this to be sane:
After reboot:
FBC enabled
Compressing: yes
after killing lightdm:
FBC disabled: framebuffer not tiled or fenced
after running some kms tests:
FBC disabled: frontbuffer write
or
FBC disabled: no suitable CRTC for FBC
or
FBC disabled: FBC enabled (active or scheduled)
FBC worker scheduled on vblank 154675, now 154675
My recent idea was to set a warn on disabled:
+ if (strstr(buf, "FBC disabled: "))
+ {
+ igt_warn("%s\n", buf);
+ igt_assert(true);
+ }
This would result in the WARN result if FBC was disabled. This would not save any runtime, but it should stop the confusion if the test failed due to timeout or if due to FBC being disable.
However, when testing above on a SKL NUCi5 system I always end up with WARN on all tests.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105359
Lakshmi <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=105359
Petri Latvala <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE--- Comment #7 from Petri Latvala <[email protected]> ---
*** This bug has been marked as a duplicate of bug 108040 ***
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel